package com.campus.counseling.model.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.campus.counseling.entity.SysMenu;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface SysMenuMapper extends BaseMapper<SysMenu> {
    
    // 获取用户菜单列表
    List<SysMenu> selectUserMenus(Long userId);
    
    // 获取用户权限列表
    List<String> selectPermissionsByUserId(Long userId);
} 